<div class="bjui-pageContent">
    <form action="{:U('save_friend')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
        <input type="hidden" name="id" value="{$va.id}"/>
        <div class="form-group">
            <label class="x100">名称:</label>
            <input type="text" name="name" data-rule="required" value="{$va.name}"/>
        </div>
        <div class="form-group">
            <label class="x100">连接:</label>
            <input type="text" name="url" data-rule="required;url" value="{$va.url}"/>
        </div>
        <!-- <div class="form-group clearfix">
            <label class="x100 pull-left">网站logo:</label>
            <div class="pull-left">
                <img src="__PU__/images/58008889b30bc.jpg" alt="LOGO" width="70" />
                <input type="hidden" name="" />
                <span data-toggle="upload"
                      data-uploader="{:U('Index/upload')}"
                      data-file-type-exts="*.png;*.jpg"
                      data-icon="cloud-upload"
                      data-on-upload-success="upload_callback"
                      data-auto="true"
                      data-button-text="上传图片"
                ></span>
                <span class="text-warning">请上传有情连接的LOGO</span>
            </div>
        </div> -->
        <div class="form-group">
            <label class="x100">是否新窗口:</label>
            <input type="radio" name="is_blank" value="1" id="firend_newwin" data-toggle="icheck" data-label="是"  <if condition="$va.is_blank eq '1'">checked</if>  />
            <input type="radio" name="is_blank" value="0" id="firend_newwin" data-toggle="icheck" data-label="否"  <if condition="$va.is_blank neq '1'">checked</if> />
        </div>
        <div class="form-group">
            <label class="x100">状态:</label>
            <input type="radio" name="status" value="0" id="firend_status" data-toggle="icheck" data-label="显示"  <if condition="$va.status neq '1'">checked</if>  />
            <input type="radio" name="status" value="1" id="firend_status" data-toggle="icheck" data-label="不显示"  <if condition="$va.status eq '1'">checked</if> />
        </div>
        <div class="form-group">
            <label class="x100">权重:</label>
            <input type="text" name="sort" value="{$va.sort}" data-toggle="spinner" data-min="0" data-step="1" data-rule="integer" class="w100"  />
            <span class="text-warning">注:权重超大,超显示在前面</span>
        </div>
    </form>
</div>
<include file="Common/footer" ftype="save"/>